-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support building a package from dev_container #696
Conversation
FYI @cliffburdick |
Hi @agirault, some |
@mocsharp If you have a specific test to run, can you provide instructions? ty |
f4c13d2
to
dbb6a7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @agirault , approved with minor comments.
Need capabilities to retrieve dockerfile needed for building the package subcomponents Signed-off-by: Alexis Girault <[email protected]>
Signed-off-by: Alexis Girault <[email protected]>
d37ed11
to
a765ed8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Changes
build_and_package
to./dev_container
that leveragesbuild_and_run
similarly tobuild_and_install
. Bit of a workaround, butbuild_and_run
might be refactored in the somewhat near future.Results
./dev_container build_and_package holoscan-networking Building dev container... 2025-02-20 21:24:59 $ /home/agirault/projects/holoscan/holohub/dev_container build --docker_file operators/advanced_network/Dockerfile --img holohub:holoscan-networking 2025-02-20 21:24:59 $ export DOCKER_BUILDKIT=1 2025-02-20 21:24:59 $ docker build --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg BASE_IMAGE=nvcr.io/nvidia/clara-holoscan/holoscan:v2.9.0-dgpu --build-arg GPU_TYPE=dgpu --build-arg COMPUTE_CAPACITY=8.6 --network=host -f operators/advanced_network/Dockerfile -t holohub:holoscan-networking /home/agirault/projects/holoscan/holohub ... [command] cpack --config build/holoscan-networking/pkg/CPackConfig-holoscan-networking.cmake CPack: Create package using DEB CPack: Install projects CPack: - Run preinstall target for: Holohub CPack: - Install project: Holohub [] CPack: Create package CPack: - package: /workspace/holohub/holoscan-networking_0.1.0_arm64.deb generated. Build done.
./dev_container build_and_package foo Package foo not found in list of packages: (see ./run list_packages)